ExportVideoOptions

constructor(h264Profile: Int = 77, h264Level: Int = 52, videoBitrate: VideoBitrate, audioBitrate: Int = 0, frameRate: Float? = null, targetWidth: Float? = null, targetHeight: Float? = null, allowTextOverhang: Boolean = false, videoCodec: VideoCodec = VideoCodec.AUTO, audioCodec: AudioCodec = AudioCodec.AUTO, exportAlpha: Boolean = false, coverTimeOffset: Double? = null)

The video export options with a strongly typed video bitrate. All parameters match the primary constructor, except that videoBitrate selects the bitrate as a VideoBitrate: VideoBitrate.System (the platform encoder uses the shared resolution/framerate default), VideoBitrate.Auto (the same bounded default across platforms) or VideoBitrate.Custom (an explicit bitrate in bits per second).


constructor(h264Profile: Int, h264Level: Int, videoBitrate: Int, audioBitrate: Int, frameRate: Float?, targetWidth: Float?, targetHeight: Float?, allowTextOverhang: Boolean, videoCodec: VideoCodec, audioCodec: AudioCodec, exportAlpha: Boolean, coverTimeOffset: Double?)

The constructor without timeOffset and duration, so that a call that passes all these arguments, from Java for example, keeps working. It sets timeOffset to 0 and duration to null.


constructor(h264Profile: Int = 77, h264Level: Int = 52, videoBitrate: Int = BITRATE_SYSTEM, audioBitrate: Int = 0, frameRate: Float? = null, targetWidth: Float? = null, targetHeight: Float? = null, allowTextOverhang: Boolean = false, videoCodec: VideoCodec = VideoCodec.AUTO, audioCodec: AudioCodec = AudioCodec.AUTO, exportAlpha: Boolean = false, coverTimeOffset: Double? = null, timeOffset: Double = 0.0, duration: Double? = null)